package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.dto.AppointmentDto;
import com.common.domain.entity.Comment;
import com.common.domain.entity.Consultation;
import com.common.domain.entity.ResponseResult;
import com.common.domain.vo.AppointmentVo;
import com.github.pagehelper.PageInfo;

public interface ConsultationService  extends IService<Consultation> {
    ResponseResult submitAppointmentInfo(AppointmentDto appointmentDto);

    ResponseResult updateAppointmentInfo(AppointmentDto appointmentDto);

    ResponseResult getDateAppointmentInfo(Long id, String date);

    PageInfo<AppointmentVo> getAppointmentLog(String type, int pageNum, int pageSize);

    ResponseResult cancelAppointmentLog(Long id);

    ResponseResult allConsultationList(Integer pageNum, Integer pageSize, String name, String time, String status);

    void updateStatus(Long id, String status);
}
